package com.zsrt.spring.boot.user;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
	
	/**
	 * http://localhost:8080/user/hello
	 * @return
	 */
	@RequestMapping("/hello")
    public String greeting() {
        return "hello";
    }

}
